#include "FactoryProductB.h"
#include "..\CarBMW.h"
#include "ScreenSX.h"
#include "RocketHT.h"

//航天火箭发射了一个带有三星屏幕的宝马车;
InterfaceCar* FactoryProductB::CreateCar()
{
    return new CarBMW();
}

InterfaceScreen* FactoryProductB::CreateScreen()
{
    return new ScreenSX();
}

InterfaceRocket* FactoryProductB::CreateRocket()
{
    return new RocketHT();
}
